package com.example.common.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class RewardRecord {
    private Integer id;

    private Integer borrowId;

    private Integer userId;

    private Integer loanId;

    private Integer rechargeId;

    private BigDecimal reward;

    private String remarks;

    private String rewardType;

    private Date createTime;

    public RewardRecord(Integer id, Integer borrowId, Integer userId, Integer loanId, Integer rechargeId, BigDecimal reward, String remarks, String rewardType, Date createTime) {
        this.id = id;
        this.borrowId = borrowId;
        this.userId = userId;
        this.loanId = loanId;
        this.rechargeId = rechargeId;
        this.reward = reward;
        this.remarks = remarks;
        this.rewardType = rewardType;
        this.createTime = createTime;
    }

    public RewardRecord() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(Integer borrowId) {
        this.borrowId = borrowId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLoanId() {
        return loanId;
    }

    public void setLoanId(Integer loanId) {
        this.loanId = loanId;
    }

    public Integer getRechargeId() {
        return rechargeId;
    }

    public void setRechargeId(Integer rechargeId) {
        this.rechargeId = rechargeId;
    }

    public BigDecimal getReward() {
        return reward;
    }

    public void setReward(BigDecimal reward) {
        this.reward = reward;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getRewardType() {
        return rewardType;
    }

    public void setRewardType(String rewardType) {
        this.rewardType = rewardType == null ? null : rewardType.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
